package com.owc.domain.dto.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author xiaom
 * @Date 2020/2/28 17:17
 * @Version 1.0.0
 * @Description <>
 **/
@Data
@ApiModel("订单DTO")
public class OrderDTO implements Serializable {

    @ApiModelProperty("订单ID")
    private Long id;

    @ApiModelProperty("产品ID")
    private Long productId;

    @ApiModelProperty("购买人名称")
    private String buyUserName;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("购买时间")
    private String buyTime;

    @ApiModelProperty("购买数量")
    private BigDecimal amount;

    @ApiModelProperty("订单ID")
    private Long orderId;

}
